package com.hw.dao.utils;

/**
 * 向前页面有上一页、写一页时需要传递这几个参数到后台
 */
public class PageUtil {
	
    private Long currentPage;//当前页数
    private Long pageSize;//每一页大小
    private Long totalPage;//总页数
    private Long currentIndex;//当前这条数据在当前页数中的位置
    public Long getCurrentPage() {
        return currentPage;
    }
    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }
    
    public Long getPageSize() {
        return pageSize;
    }
    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }
    public Long getTotalPage() {
        return totalPage;
    }
    public void setTotalPage(Long totalPage) {
        this.totalPage = totalPage;
    }
    public Long getCurrentIndex() {
        return currentIndex;
    }
    public void setCurrentIndex(Long currentIndex) {
        this.currentIndex = currentIndex;
    }
    

}
